From: Florian Müllner Date: Wed, 1 Mar 2017 17:38:52 +0000 (+0100) Subject: calendar: Fake baseline alignment for notification timestamp X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~440 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=af18a0cf40bee103555ffd31f13cd27b0d569d59;p=gnome-shell.git calendar: Fake baseline alignment for notification timestamp We don't have GTK's baseline alignment, so all we can do is add some padding and hope it works out fine for most fonts and sizes ... https://bugzilla.gnome.org/show_bug.cgi?id=779820 --- diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 60ae69105..784d85492 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -901,7 +901,10 @@ StScrollBar { .message-secondary-bin > .event-time { color: #999999; - font-size: 0.7em; } + font-size: 0.7em; + /* HACK: the label should be baseline-aligned with a 1em label, + fake this with some bottom padding */ + padding-bottom: 0.13em; } .message-secondary-bin > StIcon { icon-size: 16px; } diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass index 46697744a..296e54514 160000 --- a/data/theme/gnome-shell-sass +++ b/data/theme/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 46697744a622a21955a6e16c7e161d2422bc0768 +Subproject commit 296e5451457032e2fd9919135828c213d118664e diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index f3cc69c76..20423b603 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -901,7 +901,10 @@ StScrollBar { .message-secondary-bin > .event-time { color: #8e8e80; - font-size: 0.7em; } + font-size: 0.7em; + /* HACK: the label should be baseline-aligned with a 1em label, + fake this with some bottom padding */ + padding-bottom: 0.13em; } .message-secondary-bin > StIcon { icon-size: 16px; }